package com.ls.controller.startbanner;

import com.ls.service.IStartBannerService;
import com.ls.utils.ResultData;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "启动页轮播图组相关App接口", tags = "启动页轮播图组相关App接口")
@RestController
@RequiredArgsConstructor
@RequestMapping("/startBannerApp")
public class StartBannerAppController {
    private final IStartBannerService service;
    /** app轮播图 */
    @GetMapping("getBanner")
    public ResultData getBanner() {
        return service.getBanner();
    }
}
